package cn.com.frame.commom.web;

public enum EmRespCode {

    OK("成功",1),FAIL("失败",-1),NOT_ALLOW("无权限",-5),LOST_LOGIN("登录失效",-9);

    private String  name;
    private int value;

    EmRespCode(String  name, int value){
        this.name = name;
        this.value = value;
    }
    public String getName() {
        return name;
    }

    public int getValue() {
        return value;
    }
}
